package cloud.xlh.auto_configuration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.URL;
import java.net.URLClassLoader;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : example
 * @ Author: XuLeHuang
 * @ Date: 2023/1/30 15:53
 * @ Description:
 */
@SpringBootApplication
public class AutoConfigurationApplication {
    public static void main(String[] args) {
        /*System.out.println("应用程序类加载器的路径： ");
        URLClassLoader appClassLoader = (URLClassLoader)ClassLoader.getSystemClassLoader();
        URL[] urls  = appClassLoader.getURLs();
        for(URL url : urls)
        {
            System.out.println(url);
        }*/

        //System.out.println(System.getProperty("java.class.path"));
        Dog dog = new Dog();
        SpringApplication.run(AutoConfigurationApplication.class , args);
    }
}
